package top.jinlijun.heytea.entities;

public class Address {

    private Integer addressId;
    private String areaCode;
    private String addressDetail;
    private String province;
    private String city;
    private String county;
    private String name;
    private String tel;
    private String userId;
    private Integer isDefault;
    private Float lng;
    private Float lat;

    public Address() {
    }

    public Address(Integer addressId, String areaCode, String addressDetail, String provincel, String city, String county, String name, String tel, String userId, Integer isDefault, Float lng, Float lat) {
        this.addressId = addressId;
        this.areaCode = areaCode;
        this.addressDetail = addressDetail;
        this.province = provincel;
        this.city = city;
        this.county = county;
        this.name = name;
        this.tel = tel;
        this.userId = userId;
        this.isDefault = isDefault;
        this.lng = lng;
        this.lat = lat;
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Float getLng() {
        return lng;
    }

    public void setLng(Float lng) {
        this.lng = lng;
    }

    public Float getLat() {
        return lat;
    }

    public void setLat(Float lat) {
        this.lat = lat;
    }

    @Override
    public String toString() {
        return "Address{" +
                "addressId=" + addressId +
                ", areaCode='" + areaCode + '\'' +
                ", addressDetail='" + addressDetail + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", county='" + county + '\'' +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", userId=" + userId +
                ", isDefault=" + isDefault +
                ", lng=" + lng +
                ", lat=" + lat +
                '}';
    }
}
